var path=require("path");

module.exports={
	entry:"./src/index.js",
	output:{
		path:path.json(__dirname,"dist","assets"),
		filename:"bundle.js"
	},
	module:{
		rules:[{
			test:/\.js$/,
			exclude:/node_modules/,
			use:[
				"babel-loader",
				"json-loader"
			]
		}]
	}
};